package com.oa.system.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.oa.system.dto.MyApprovalListDTO;
import com.oa.system.entity.ApprovalProcessDefine;
import com.oa.system.vo.ApprovalProcessDefineDetails;
import com.oa.system.vo.MyApprovalFindUserIdVO;
import com.oa.system.vo.MyApprovalListVO;

import java.util.List;

public interface ApprovalProcessDefineMapper extends BaseMapper<ApprovalProcessDefine> {

    List<MyApprovalFindUserIdVO> myApprovalFindUserId(MyApprovalListDTO myApprovalListDTO, Page page);

    List<MyApprovalFindUserIdVO> findCopyRecord(MyApprovalListDTO myApprovalListDTO, Page page);

    List<MyApprovalListVO> myApproval(MyApprovalListDTO myApprovalListDTO, Page page);

    ApprovalProcessDefineDetails findDetailsById(String id);

}
